﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="InfoOfSales.aspx.cs" Inherits="Liguo.Administration.InfoOfSales" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
        <script type="text/javascript" src="..\js\My97DatePicker\WdatePicker.js">
</script>
    <style type="text/css">
        .auto-style5 {
            width: 90px;
        }
        .auto-style6 {
            width: 87px;
        }
        .auto-style7 {
            width: 94px;
        }
        .auto-style9 {
            width: 81px;
        }
        .auto-style10 {
            width: 91px;
        }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div>
        <h1> 利果社销量查询</h1> 
    </div>
    <div>
        <table>
            <tr>
                <td><h3>指定时间段：</h3></td>
                <td><h4>开始时间：</h4></td>
                <td><asp:TextBox ID="startTime" runat="server" onClick="WdatePicker({dateFmt: 'yyyy/MM/dd HH:mm'})"  Width="125px" ></asp:TextBox></td>
                <td><h4>截至时间：</h4></td>           
                <td><asp:TextBox ID="endTime" runat="server" onClick="WdatePicker({dateFmt: 'yyyy/MM/dd HH:mm'})" Width="125px" ></asp:TextBox></td>
                <td> <asp:Button ID="ButtonInquery" runat="server" OnClick="ButtonInquery_Click" Text="查询" /></td> 
            </tr>
        </table>
        <table>
            <tr>
                <td><h3>特定时间：</h3></td>
                <td class="auto-style6">
                    <asp:RadioButton ID="Radio_AllTime" text = "全部"  GroupName ="GroupOfTime" runat = "server" />
                </td>
                <td class="auto-style5">
                    <asp:RadioButton ID="Radio_OneYear" text = "一年" GroupName ="GroupOfTime" runat="server" />
                </td>
                <td class="auto-style7">
                    <asp:RadioButton ID="Radio_OneQuarter" text = "一季度" GroupName ="GroupOfTime" runat="server" />
                </td>
                <td class="auto-style10">
                    <asp:RadioButton ID="Radio_OneMonth" text = "一个月" GroupName ="GroupOfTime" runat="server" />
                </td>
                <td class="auto-style9">
                    <asp:RadioButton ID="Radio_OneWeek" text = "一周" GroupName ="GroupOfTime" runat="server" />
                </td>
                <td>
                    <asp:Button ID ="ButtonInqueryOther" Text ="查询" runat ="server" OnClick="ButtonInqueryOther_Click" />
                    <input type="text" value="默认查询一天的销量" />
                </td>
            </tr>
       </table>     
    </div>
    <div>
        <table>
            <tr>
                <td align="left">
                    <asp:Label ID ="startTimeText" Text="整件销售情况："  runat="server" Visible="false"></asp:Label>
                </td>
                <td>
                    <asp:GridView ID="itemGridView_Anytime"  runat="server" >
        </asp:GridView>
                </td>
                <td align="left">
                     <asp:Label id="itemToP" Text="整件销售总价：" Visible="false" runat="server"></asp:Label>
                </td>
                <td>
                    <asp:Label ID="itemPrice" runat="server" Text ="0" Visible ="false"></asp:Label>
                </td>
                <td>
                    &nbsp&nbsp
                </td>
                <td align="right">
                    <asp:Label ID ="endTimeText" Text ="散件销售情况：" runat ="server" Visible="false" ></asp:Label>
                </td>
                <td>    
                    <asp:GridView ID="disGridView_Anytime" runat="server">
        </asp:GridView>
                </td>
                <td align="right">
                    <asp:Label id="disToP" Text="散件销售总价：" Visible="false" runat="server"></asp:Label>
                </td>
                <td>
                    <asp:Label ID="disPrice" runat="server" Text="0" Visible="false"></asp:Label>
                </td>      
                <td>
                    <asp:Label ID="TotalPrice" visible="false" runat="server"></asp:Label>
                </td>         
            </tr>
        </table>        
    </div>
    </form>
</body>
</html>
